This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Can't connect to SQL via ODBC ~Yentl Kifreeterynds 19.Jan.04 02:02 PM a Web browser Domino Designer 6.0.1 CF1Windows 2000
Hi,
Try this.....
"Sub Click(Source As Button)
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = ws.CurrentDocument
Dim con As New ODBCConnection
Dim qry As New ODBCQuery
Dim result As New ODBCResultSet
Set qry.Connection = con
Set result.Query = qry
If con.ConnectTo("ODBC","username", "password"Then
qry.SQL = "Query"
result.Execute
If result.Execute Then
action
End If "